From Cppreference
|
|
| bool joinable();
|
| (C++11 feature)
|
|
|
|
Checks if the thread object identifies an active thread of execution. Specifically, returns true if get_id() != id()
[edit] Parameters
(none)
[edit] Return value
true if the thread object identifies an active thread of execution, false otherwise
[edit] Exceptions
[edit] Example
[edit] See also
|
|
|
| returns the id of the thread (public member function)
|
|
|
|
| waits for a thread to finish its execution (public member function)
|
|
|
|
| permits the thread to execute independently from the thread handle (public member function)
|